import { createRoot } from 'react-dom/client'

import 'antd/dist/antd.min.css'
import './index.scss'
import App from './App'

import { Provider } from 'react-redux'
import store from './store'

import { ConfigProvider } from 'antd'
import 'moment/locale/zh-cn'
import locale from 'antd/lib/locale/zh_CN'

const root = createRoot(document.querySelector('#root'))
root.render(
  <Provider store={store}>
    <ConfigProvider locale={locale}>
      <App></App>
    </ConfigProvider>
  </Provider>
)
